﻿.banner-carousel-component .swiper-slide {
    width: 80%;
    opacity: 0.4;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
}

    .banner-carousel-component .swiper-slide.active-slide {
        opacity: 1;
        z-index: 2;
    }

        .banner-carousel-component .swiper-slide.active-slide img {
            height: 650px;
        }

.banner-carousel-component .swiper-wrapper {
    display: flex;
    align-items: center;
}

.banner-carousel-component .banner-slide {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.25rem;
}

    .banner-carousel-component .banner-slide img {
        width: 100%;
        object-fit: cover;
        display: block;
        border-radius: 0.25rem;
        height: 544px;
    }

.banner-carousel-component .slide-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    padding: 1rem;
}

    .banner-carousel-component .slide-text h2 {
        font-size: 1.5rem;
        font-weight: 400;
    }

    .banner-carousel-component .slide-text p {
        font-size: 1rem;
        font-weight: 400;
    }

.banner-carousel-component .swiper-button-prev,
.banner-carousel-component .swiper-button-next {
    color: gray;
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 10px;
    height: 10px;
}

.banner-carousel-component .swiper-button-prev {
    left: 14%;
}

.banner-carousel-component .swiper-button-next {
    right: 14%;
}

.banner-carousel-component .banner-carousel-slider {
    position: relative;
    overflow: hidden;
    padding: 7.5rem 0;
}

@media (max-width: 767px) {
    .slide-text p,
    .banner-carousel-component .swiper-button-prev,
    .banner-carousel-component .swiper-button-next {
        display: none !important;
    }

    .banner-carousel-component .swiper-slide {
        transform: scale(1);
        opacity: 1;
    }

    .slide-text h2 {
        font-size: 18px !important;
        margin-bottom: 0;
    }

    .banner-carousel-component .swiper-slide.active-slide {
        transform: scale(1);
    }

    .banner-carousel-component .banner-carousel-slider {
        padding: 4.375rem 1.5rem;
    }

    .banner-carousel-component .slide-text {
        left: 1rem;
        text-align: left;
        transform: none;
    }

    .banner-carousel-component .banner-slide img {
        width: 100% !important;
        height: 380px !important;
    }
}
